
/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"7F730F8F-FDAF-4130-9EAB-3B0E5A6098E4"}
 */
function nuevo(event) {
	if (foundset.getSize() == gcadena_to_hoteles.getSize())
	{
		globals.DIALOGS.showWarningDialog('Aviso','Este usuario ya tiene todos los permisos','OK')
		return
	}
	controller.newRecord()
}
